<?php
// don't allow lower dirs than basedir
if (isset($_GET['path']))
	{
		$getpath = $_GET['path'];
		$getpath = urldecode($getpath);
		$getpath = str_replace("../","",$getpath);
		$getpath = str_replace("..","",$getpath);
		$fullpath = $abspath.$getpath;
	}
else
	{
		$fullpath = $abspath;
	}
?>